File Operations (2): file shredder, file operation file shredder
Principle of file shredder: Before a file is deleted, write it with random characters
(Note: The reference material uses the BCB compiler, but the BCB compiler does not. Therefore, we need to use MFC here)
I,
First, create a dialog box-based MFC project and add controls in the dialog box
M_StatusBar
Endurer note: File crushing program. I used to use Turbo C 2.0 to write a command line program running in DOS. The file length seems to be more than 9 KB. Later I used ASM to write the program, the file length is less than 700 bytes, that is,
Shredder is implemented in the GUI window on Windows platform. It is really great to keep a slim figure of 9kb (the length of the EXE file is 40,960 bytes, And the ZIP file is 9,526 bytes after compression, I do
Rising file Shredder Green Simplified Chinese Special Edition _ Support File/folder drag, rising file Shredder applet, which can again choose whether to clear these files. And this program can be run alone, supporting files, folders drag and drop, clear System folder will have related prompts
The main function of file smashing is for some stubborn virus, sometimes some virus files are protected and cannot b
BAT version File shredder
Copy Code code as follows:
@echo off
For%%f in (% 1) do (
echo Deleting%%f ...
Copy nul%%f/y>nul
Del%%f/q/F
)
The above content is saved to C:\windows\system32\kill.bat.
Edit VBS script File
Copy Code code as follows:
Set Ws=createobject ("Wscript.Shell")
Ws.regwrite "hkcr\*\shell\\ Smash file \command\", "Kill%1"
After running the VBS file, a smash file item ap
In the Android development, sometimes may want to use the paper shredder effect, today small arranges for everybody to tidy up the code, takes a look.
First look at the effect chart
Instance Code
Xml
Java
Mpapershredderview.setshrededtype (PaperShredderView.SHREDEDTYPE.Piece);//paper effect and note effect
Mpapershredderview.setsherderprogress (false);
Mpapershredderview.settitle ("purge data");
Mpapershreddervie
The software version used in this article
android:4.2.2
Linux kernel: 3.1.10
This article and subsequent articles will be on the Android initialization (INIT) process of detailed, stripping and cocoon analysis, and interspersed with a lot of knowledge in the hope that the reader understand the launch process of Android and help. This chapter mainly introduces the definition of the hardware-related initialization file name and the principle and impl
For the initialization of Git repository, some people say git init, some people say git init–bare, then I would like to tell the difference between the two.Git init and git init–bare look like there's no –bare in the back, bare is the bare meaning1.git init Initializes a git
The original operation of the project is no problem, but the two-day project has started to error, Baidu is jar package Hibernate-annotation.jar conflict caused. Check the project about Hibernate jar bag, found that there is no hibernate-annotation.jar, feel helpless.
The server is using JBOSS4.2.3-GA, before the project deployment to the jboss7.x version is OK, I think it is because of the replacement of the server reason, found again deployed to the jboss7.x project startup is also an error.
O
$ LS-LD/etc/rc. dDrwxr-XR-x 10 Root 352 February 13 13:38/etc/rc. d/$ LS-LD/etc/init. dLrwxrwxrwx 1 Root 11 February 13 13:38/etc/init. d-> rc. d/init. d/
One is another soft link.
Etc/rc. d/init. D contains some scripts for the INIT process (that is, process 1) to choose to
Class and object creation process (Meta class ,__ new __,__ init __,__ call _) ,__ new ____ init __I. type () 1. Create a class in either of the following ways:
class MyClass(object): def func(self,name): print(name)myc = MyClass()print(MyClass, type(MyClass))print(myc, type(myc))
We created a class named MyClass and instantiated this class to obtain its object.
The result of the code above is:
The root directory of Android contains a series of important configuration files: init. RC init. XXXXX. RC.
The code for parsing these configuration files in Android is in the system \ core \ init directory.
The core file is init. C. For more information about the syntax, see readme.txt.
This article briefly introduces
Android init process analysis init script parsing and Processing(The lazy recently remembered that I still have csdn for a long time and I haven't taken care of it. This android init has been lying in my draft box for almost five years, And I want to change it a little.) RC file format
Rc files are common files executed during the startup and loading phases in li
If there is a mistake welcome correct, look forward to your valuable advice.
Cloud-init is a script that activates and initializes virtual machines, operates on virtual machines when the virtual machine is started, and is highly functional and widely applicable to OpenStack.
Ubuntu14.04/etc/cloud/cloud.cfg
# The top level settings are used as module# and System configuration.# A set of users which May is applied and/or used by various modules# when a
Take notes on how to understand the magic methods of _ new _ and _ init _ in Python, __new ___ init _
I like Python very much. After reading the syntax, I learned about the Django Web development framework. I am familiar with Python. However, I still don't know a lot about it, because it is rarely used. Today I learned two magic methods: __new _ and _ init __.
At
In php, The init () function and the linux system init process-general Linux technology-Linux programming and kernel information. The following is a detailed description. Because the kernel thread that executes the init () function and the process identifier of the init process are both 1, and they are also called
Init. rc parsing and chmod changing file attributes are useless.
From: http://h1372865100.blog.163.com/blog/static/2104291032012929114132327/The init. rc Syntax of android is unique. It can be said that it is a language.
The init. rc syntax is dividedActions, commands, services, and options(Options).
Category
Name
Description
Section
O
Python basics === package import and _ init _. py introduction, python _ init _. pyCall the same level directory:
-Src|-Mod. py|-Test. py
If you import the module mod in the test. py program, you can directly use
import mod Orfrom mod import *
Call the modules in the subdirectory:
-Src|-Mod. py|-Lib|-Mod2.py|-Test. py
from lib.mod2 import * Orimport lib.mod2Call the files in the upper-level directory
The di
Android initialization language (init. *. rc, init. conf file format)
The Android initialization language contains four types of statements: Actions (Action), Commands (command), Services (service), and Options (Options ).
All of these are in the unit of action, and various marks are separated by spaces. The C-style backslash can be used to insert spaces between marks. Double quotation marks can also be use
Http://www.ibm.com/developerworks/cn/views/linux/libraryview.jsp?sort_by=show_abstract=trueshow_all= search_flag=contentarea_by=linuxsearch_by= Analysis of +linux+ initialization +init+ system topic_by=-1type_by= all categories ibm-search= SearchBrief analysis of Linux initialization init system, part 1th: sysvinitIn recent years, the INIT process of Linux system
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.